import json


class DataFileLoader:

    @classmethod
    def get_content(cls,file_name):
        with open(file_name, "r", encoding="utf-8-sig") as f:
            return json.load(f)

if __name__ =="__main__":
    path = r"H:\mywork\haishen\haishen_biz\login\fixed_data\data_files\json_data.json"
    data = DataFileLoader.get_content(path)
    print(data)